package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.bill.request.BillOrderRequest;
import com.ytjj.qmyx.supplychain.common.model.bill.response.StatementListResp;
import com.ytjj.qmyx.supplychain.mapper.entity.BillOrder;
import com.ytjj.qmyx.supplychain.mapper.entity.BillRefund;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BillRefundMapper extends Mapper<BillRefund> {

    void insertBatch(@Param("list") List<BillRefund> billRefunds);

    List<BillRefund> selectBillRefund(BillRefund billRefund);

    List<StatementListResp> selectList(BillOrderRequest request);

    List<BillRefund> selectBillRefundByPage(BillOrderRequest request);

    Integer selectBillRefundCountByPage(BillOrderRequest request);
}
